<!DOCTYPE html>
<html>
<head>
    <title>{$site_info.site_seo_title|default=''}-{$site_info.site_name}</title>
    <meta name="keywords" content="{$category.seo_keywords|default=''}"/>
    <meta name="description" content="{$category.seo_description|default=''}">
    <include file="public@head"/>
</head>
<body class="archive category category-seo-youhua category-3">
<include file="public@nav"/>
</header>
    <section class="xs-main index-main clr">
        <div class="inner">
            <div class="xs-left">
                <div class="cat-title">
                    <h1>{$category['name']} </h1>
                    <p class="des">
                        {$category.seo_description|default=''}
                    </p>
                </div>
                <div class="content-ajax">
                    <!--腾讯视频代码-->
                    <br/>
                    <div style="text-align: center;">
                        <video src="https://cloud.video.taobao.com//play/u/737279676/p/2/e/6/t/1/50102698359.mp4" poster="https://www.heigouqi1.cn/uploads/allimg/600400/fengmian/888.jpg" controls="controls" width="100%"></video>
                    </div>
                    <!--腾讯视频代码-->
                    <php>
                    $where=[ 'post.create_time'=>['egt',0]];
                    $page=[
                    'list_rows'=>10,
                    'next'=>'下一页',
                    'prev'=>'上一页'
                    ];
                    </php>
                    <portal:articles  where="$where" page="$page" order="post.published_time DESC" categoryIds="$category['id']">
                        <article id="post-532" class="post-532 post type-post status-publish format-standard hentry category-web-design tag-user-experience">
                            <figure class="entry-img"><span class="sort"></span><a href="{:cmf_url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo['categories'][0]['id']))}" rel="bookmark" title="{:cnsubstr($vo.post_title,25)}">
                                <img src="__ROOT__/upload/{$vo['thumbnail']}" alt="{:cnsubstr($vo.post_title,25)}" class="thumbnail"/></a></figure>
                            <div class="entry-content">
                                <h2 class="entry-title"><a href="{:cmf_url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo['categories'][0]['id']))}" rel="bookmark">{:cnsubstr($vo.post_title,25)}</a></h2>
                                <div class="entry-site xs-hidden">
                                    {:cnsubstr($vo.post_excerpt,50)}
                                </div>
                                <div class="entry-meta">
                                    <div class="eye xs-hidden">
                                        <i class="fa fa-eye fa-1"></i><a href="javascript:void(0);">{$vo.post_hits}</a>
                                    </div>
                                    <div class="time">
                                        <i></i><a href="javascript:void(0);">{:date('y-m-d',$vo.published_time)}</a>
                                    </div>
                                </div>
                            </div>
                        </article>
                    </portal:articles>
                </div>
                <div class="pagexx">
                    <page/>
                </div>
            </div>
            <include file="public@cb"/>
        </div>
    </section>

<include file="public@footer"/>
    <script>//悬浮
    window.onscroll=function(){
        var topScroll =document.body.scrollTop;//滚动的距离,距离顶部的距离
        var bignav = document.getElementById("float");
        if(topScroll <= 1830){
            //当滚动距离小于1820的时候执行下面的内容，也就是让导航栏恢复原状
            bignav.style.position = 'static';
        }else{
            //当滚动距离大于1820px时执行下面的东西
            bignav.style.position = 'fixed';
            bignav.style.top = '8%';
            console.log(topScroll)
        }
    }
    </script>
    <div id="shangxia">
        <div id="shang" title="↑ 返回顶部" style="background: url(__ROOT__/upload/{$theme_vars.indexImg.1.img}) no-repeat;">
        </div>
    </div>
<include file="public@scripts"/>
</body>
</html>